package one;

import com.thoughtworks.selenium.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.server.SeleniumServer;

@SuppressWarnings("deprecation")
public class RS_4 extends SeleneseTestCase {
	public SeleniumServer rs;
	@Before
	public void setUp() throws Exception {
		rs=new SeleniumServer();
		rs.start();
		selenium = new DefaultSelenium("localhost", 4444, "*firefox", "http://www.rightstart.com/");
		
		selenium.start();
	}



	@Test
	public void testUntitled() throws Exception {
		selenium.open("/");
		selenium.windowMaximize();
		selenium.click("link=Sign In");//Phone: 732 634 7900 ext. 33
		selenium.waitForPageToLoad("60000");
		selenium.goBack();
		selenium.click("link=Email Signup");
		selenium.waitForPageToLoad("60000");
		selenium.goBack();
		selenium.click("link=Registry");
		selenium.waitForPageToLoad("60000");
		selenium.goBack();
		selenium.click("link=Order Status");
		selenium.waitForPageToLoad("60000");
		selenium.goBack();
		selenium.click("link=Stores");
		selenium.waitForPageToLoad("60000");
		
	
			
	
		Thread.sleep(5000);
		
	}

	@After
	public void tearDown() throws Exception {
		selenium.stop();
		rs.stop();
	}
}

